import { DEFAULT_LAYOUT } from '@/router/constans';

export default {
  path: '/diet',
  name: 'Diet',
  redirect: { name: 'DietList' },
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '饮食信息',
    requiresAuth: true,
    order: 6,
    hideChildrenInMenu: true,
    iconfont: 'icon-canyin',
  },
  children: [
    {
      path: 'diet-list',
      name: 'DietList',
      component: () => import('@/views/diet/index.vue'),
      meta: {
        locale: '饮食信息',
        requiresAuth: true,
        permission: 'diet:list',
      },
    },
  ],
};
